package uicontrols 
{
	import flash.events.Event;
	import ru.gosoplata.model.TmpModel;
	/**
	 * ...
	 * @author a.orleansky
	 */
	public class ButtonSearch extends ButtonBase 
	{
		
		public function ButtonSearch() 
		{
			super("search_prov",0x767676);
			addEventListener(Event.ADDED_TO_STAGE, btnInit);
			addEventListener(ButtonBase.ON_PIC_LOADED, loadIcon);
		}
		
		private function loadIcon(e:Event):void 
		{
			addIcon(TmpModel.IMG_FOLDER+"/sotovie_operatori/seach/images/seach_icon.png");
		}
		
		private function btnInit(e:Event):void 
		{
			removeEventListener(Event.ADDED_TO_STAGE, btnInit);
		}
		
	}

}